PATH![]() |
![]() ![]() |
Removes a region from a window's update region.
pascal OSStatus ValidWindowRgn (
WindowPtr window,
RgnHandle region);
The ValidWindowRgn function informs the Window Manager that an area of a window no longer needs to be redrawn. The ValidWindowRgn function is similar to the ValidRgn function, but ValidWindowRgn allows the window that it operates upon to be explicitly specified, instead of operating on the current graphics port, so ValidWindowRgn does not require the graphics port to be set before its use. See Maintaining the Update Region for further discussion.